[data-qtrade-texty] {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

[data-qtrade-popper] {
  z-index: 1;
  min-width: 30px;
  max-width: 320px;
  min-height: 18px;
  padding: 6px 8px;
  text-align: left;
  text-decoration: none;
  word-wrap: break-word;
  border-radius: 4px;
}

[data-qtrade-popper-arrow] {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
}

[data-qtrade-popper-arrow*='top'] {
  bottom: -6px;
  border-top-color: currentColor;
  border-bottom-width: 0;
}

[data-qtrade-popper-arrow*='bottom'] {
  top: -6px;
  border-top-width: 0;
  border-bottom-color: currentColor;
}

[data-qtrade-popper-arrow*='left'] {
  right: -6px;
  border-right-width: 0;
  border-left-color: currentColor;
}

[data-qtrade-popper-arrow*='right'] {
  left: -6px;
  border-right-color: currentColor;
  border-left-width: 0;
}

/* white主题样式 */
[data-qtrade-popper] {
  color: fade(black, 85%);
  background-color: rgba(216, 216, 216, 1);
  box-shadow: 0 2px 8px -2px rgba(216, 216, 216, 1);
}
[data-qtrade-popper-arrow] {
  color: rgba(216, 216, 216, 1);
}

/* dark主题样式 */
[data-qtrade-popper].tooltip-dark {
  color: fade(rgba(255, 246, 217, 1), 65%);
  background-color: rgba(47, 51, 60, 1);
  box-shadow: 0 2px 8px 0 fade(black, 15%);
}
[data-qtrade-popper-arrow].tooltip-arrow-dark {
  color: rgba(47, 51, 60, 1);
}
